﻿using Basic.FlowModel.DB;
using Basic.FlowRemoteModel.NodeAuditEmp.Model;

namespace Basic.FlowCollect
{
    public interface INodeAuditEmpCollect
    {
        Dictionary<long, string> GetShow ( long flowId );
        void Clear ( long flowId );
        void Clear ( long flowId, long nodeId );
        DBFlowNodeAuditEmp Get ( long id );
        Result GetByNodeId<Result> ( long nodeId ) where Result : class, new();
        Result[] Gets<Result> ( long flowId ) where Result : class, new();
        bool Set ( NodeAuditEmp data );
    }
}